package uoc.tds.ejemplo.server.impl;
import java.io.Serializable;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import uoc.tds.ejemplo.common.HelloWorldInterface;

public class HelloWorldImpl extends UnicastRemoteObject
implements HelloWorldInterface,Serializable {	

	private static final long serialVersionUID = 1L;

	public HelloWorldImpl() throws RemoteException{
	        super();
	}

	public String test() throws RemoteException{
		System.out.println("test()");
               return new String("!Hello World with RMI!");
       }
	
	

}
